﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XWord.GUI.Presenters.Interface;
using System.ComponentModel;
using Caliburn.PresentationFramework.ApplicationModel;
using System.Collections;
using System.Threading;
using XWord.WPF.ApplicationFramework;
using XWord.Common;
using XWord.Fundamental.Domain;
namespace XWord.GUI.Presenters.Words
{
    public interface IName
    {
        string Name { get; set; }
    }

    public interface IWordUpdate
    {
        void Update();

        void UpdateSelectWord();

        bool CanUpdate { get; set; }

        Hashtable Data { get; }
    }



    public interface IWordExplainPresenter : IPresenter, IIndexable, IName, IWordUpdate
    {
        int Index { get; set; }

        bool OnService { get; set; }

        string DisplayName { get; set; }

        void WordChanged(string word);

        void AddWordAction(Word word);

        void RemoveWord(string word);

        void QueryData();
    }
}
